home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / miscfile.0 / miscfile / miscfiles-1.0 / Makefile.in < prev    next >
Encoding:
Makefile  |  1996-07-08  |  2.3 KB  |  93 lines

  1. # Makefile for GNU miscfiles
  2. #   Copyright (C) 1996 Free Software Foundation, Inc.
  3. #   Written by Michael I. Bushnell, p/BSG.
  4. #
  5. #   This file is part of the GNU miscfiles.
  6. #
  7. #   GNU miscfiles are free software; you can redistribute it and/or
  8. #   modify it under the terms of the GNU General Public License as
  9. #   published by the Free Software Foundation; either version 2, or (at
  10. #   your option) any later version.
  11. #
  12. #   GNU miscfiles is distributed in the hope that it will be useful, but
  13. #   WITHOUT ANY WARRANTY; without even the implied warranty of
  14. #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15. #   General Public License for more details.
  16. #
  17. #   You should have received a copy of the GNU General Public License
  18. #   along with this program; if not, write to the Free Software
  19. #   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  20.  
  21. SHELL=/bin/sh
  22.  
  23. srcdir = @srcdir@
  24.  
  25. INSTALL=@INSTALL@
  26. INSTALL_DATA=@INSTALL_DATA@
  27.  
  28. prefix=@prefix@
  29.  
  30. datadir=$(prefix)/share
  31.  
  32. MKINSTALLDIRS = $(srcdir)/mkinstalldirs
  33.  
  34. version=1.0
  35.  
  36. dictfiles=connectives web2 web2a propernames
  37. miscfiles=airport ascii birthtoken inter.phone na.phone operator zipcodes
  38.  
  39. distfiles=$(dictfiles) $(miscfiles) dict-README Makefile.in configure \
  40.     configure.in mkinstalldirs install-sh ORIGIN README INSTALL \
  41.     NEWS
  42.  
  43. all:
  44.  
  45. install: installdirs
  46.     for i in $(dictfiles); do \
  47.       $(INSTALL_DATA) $(srcdir)/$$i $(datadir)/dict/$$i ; \
  48.     done
  49.     $(INSTALL_DATA) $(srcdir)/dict-README $(datadir)/dict/README
  50.     rm -f $(datadir)/dict/words
  51.     ln $(datadir)/dict/web2 $(datadir)/dict/words
  52.     for i in $(miscfiles); do \
  53.       $(INSTALL_DATA) $(srcdir)/$$i $(datadir)/misc/$$i ; \
  54.     done
  55.  
  56. install-strip: install
  57.  
  58. uninstall:
  59.     for i in $(dictfiles); do \
  60.       rm -f $(datadir)/dict/$$i ; \
  61.     done
  62.     rm -f $(datadir)/dict/README $(datadir)/dict/words
  63.     for i in $(miscfiles); do \
  64.       rm -f $(datadir)/misc/$$i ; \
  65.     done
  66.  
  67. installdirs:
  68.     $(MKINSTALLDIRS) $(datadir)/dict $(datadir)/misc
  69.  
  70. Makefile: Makefile.in config.status
  71.     $(SHELL) config.status
  72.  
  73. config.status: configure
  74.     $(srcdir)/configure --no-create
  75.  
  76. dist: $(distfiles)
  77.     rm -rf miscfiles-$(version)
  78.     mkdir miscfiles-$(version)
  79.     ln $(distfiles) miscfiles-$(version)
  80.     tar -cho --gzip -f miscfiles-$(version).tar.gz miscfiles-$(version)
  81.     rm -rf miscfiles-$(version)
  82.  
  83. mostlyclean:
  84. clean:
  85. TAGS:
  86. info:
  87. dvi:
  88. check:
  89.  
  90. maintainer-clean distclean:
  91.     rm -f Makefile config.status
  92.  
  93.